package com.xyauto.theme

object Constant {


    /**
     * 网络请求 code
     */
    const val HTTP_CODE_SUCCESS = 0

    /**公版请求type*/
    const val REQUEST_PUBLIC_TYPE = "1"

    /**定制版请求type*/
    const val REQUEST_PRIVATE_TYPE = "2"

    /**请求数量*/
    const val REQUEST_COUNT = 20

    /**下载保存文件夹*/
    const val SAVE_COMPLETE_PATH = "data/downloadTheme/"

    const val ZIP_COMPLETE_BROADCAST="com.xyauto.theme.zip.complete.broadcast"

    fun getSavePath(version: String = BuildConfig.BASE_VERSION_NUMBER): String {
        return "$SAVE_COMPLETE_PATH$version"
    }


    /**Pkgname&&Clsassname&&PkgLable*/
    const val PAK_JME_LAUNCHER = "com.xygala.launcherall&&com.xygala.launcherall2.Launcher&&Launcher"
    const val PAK_NEW_LAUNCHER = "com.android.launcher&&com.xyauto.common.activity.MainActivity&&XyAutoLauncher"


    const val REQUEST_ORDER = "ui_name"
    const val REQUEST_SORT = "asc"

    /**下载解压状态*/
    const val download_idle = 0
    const val download_ing = 2
    const val download_pause = 3
    const val download_complete = 5
}